﻿namespace Quail
{
    /// <summary>
    /// An interface that supports the TestRunId value
    /// </summary>
    public interface ITestRunId
    {
        /// <summary>
        /// Gets the TestRunId
        /// <param name="ms">Milliseconds to wait for the test run id if it doesn't exist</param>
        /// <returns>0 if the TestRunId isn't set, otherwise the TestRunId</returns>
        /// </summary>
        int GetTestRunId(int ms);

    	/// <summary>
    	/// Gets the TestRunTaskId
    	/// <param name="ms">Milliseconds to wait for the test run id if it doesn't exist</param>
    	/// <returns>0 if the TestRunTaskId isn't set, otherwise the TestRunTaskId</returns>
    	/// </summary>
    	long GetTestRunTaskId(int ms);
    }
}
